/*
 * Part of the ACID Project
 * Developed in 2011 by Morgan Taschuk
 */
package acid.network;

import edu.asu.emit.qyan.alg.model.Vertex;

/**
 *
 * @author morgan
 */
public class AcidVertex extends Vertex
{

    private int id=Integer.MIN_VALUE;

    public AcidVertex(int id)
    {
        this.id = id;
    }

    public AcidVertex()
    {
        super();
    }

    @Override
    public int get_id()
    {
        return (id==Integer.MIN_VALUE ? super.get_id(): id);
    }

    @Override
    public String toString()
    {
        return "" + (id==Integer.MIN_VALUE ? super.get_id(): id);
    }
}
